package com.todo.content.iface.backend.request;

import com.todo.common.common.entity.CurrentStaff;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/12/14 23:58
 * @description
 */
@Data
@Schema(title = "检测内容请求", description = "检测内容请求")
public class DetectionContentReq {

    private CurrentStaff _staff;

    @Schema(title = "内容id", description = "内容id")
    private Long contentId;

    @Schema(title = "是否通过", description = "是否通过")
    private Boolean pass;

    public boolean baseCheck() {
        if (contentId == null || pass == null) {
            return false;
        }
        return true;
    }
}
